#ifndef _UTILS_H
#define _UTILS_H
/****************
 * 
 * Author: kingnosis
 * Title: “Is this a better point in triangle test (2D)?,”
 * GameDev.net,
 * 21-Jan-2005. [Online].
 * Available: https://www.gamedev.net/forums/topic/295943-is-this-a-better-point-in-triangle-test-2d/.
 * Accessed: 04-May-2019.
 * 
‌******************/

struct fPoint
{
  float x;
  float y;
};

float Sign(fPoint p1, fPoint p2, fPoint p3);

bool IsPointInTri(fPoint pt, fPoint v1, fPoint v2, fPoint v3);

#endif
